#ifndef XXX_DEV_H
#define XXX_DEV_H

#include "xxx_types.h"

// int init_empty_xxx_info(struct xxx_info *info, const struct xxx_super_area *sa);
int load_xxx_info(struct xxx_info *info, const char *mountpoint);

int read_xxx_info(struct xxx_info *info);
void free_xxx_info(struct xxx_info *info);

// bool check_xxx_info_file_inode(ext2_filsys ext2_fs);
int deploy_xxx_subfs(struct xxx_info *info, bool overwrite);

int hide_file(struct xxx_info *info, const char *filepath);
int show_file(struct xxx_info *info, const char *filepath);

#endif // XXX_DEV_H
